From 406375c6029b7dd1fab76190cc0e474c1c6c06d5 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Tue, 5 Mar 2024 15:07:22 -0600 Subject: [PATCH] Document restrictions on ParameterExecutor() use --- src/pgwui_core/core.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pgwui_core/core.py b/src/pgwui_core/core.py index c854375..e08a098 100644 --- a/src/pgwui_core/core.py +++ b/src/pgwui_core/core.py @@ -990,7 +990,9 @@ class UploadData(DBData): @attr.s class ParameterExecutor(): '''Execute a parameterized psycopg3 statement - Must be mixed in with a DataLineProcessor. + Must be mixed in with a DataLineProcessor. Unless all parameters + are vetted to prevent encoding errors, the DataLineProcessor must have + a ue (upload engine) attribute. ''' def connection_details(self, server_side): if server_side: -- 2.34.1